<script src="<?php echo base_url()?>temp/js/responsiveslides.min.js">//slideshow</script>
<link rel="stylesheet" href="<?php echo base_url()?>temp/css/responsiveslides.css" />
  <script>
    $(function () {
      // Slideshow 1
      $("#slider1").responsiveSlides({
        maxwidth: 960,
        speed: 800
      });  

    });
  </script>


<div class="slideshow clearfix"> 
            <div class="slide_content">
             <ul class="rslides" id="slider1">
             <?php 
             if($slideshow){
                foreach ($slideshow as $slideshow){
                    echo ' <li><a hef="#"><img src="'.$slideshow->img.'" alt="" /></a></li>';
                }
             }?> 
                  
             </ul>
        </div> 
        
        <div class="botslideshow"> </div>
</div>  
 



       

      